package com.jrx.anytxn.accounting.service;

import com.jrx.anytxn.accounting.bean.BillingBean;
import com.jrx.anytxn.accounting.bean.ConsolidationCheckBean;
import com.jrx.anytxn.accounting.bean.DealBillBean;
import com.jrx.anytxn.accounting.entity.GaVoucherInfo;
import com.jrx.anytxn.number.exception.SegmentException;
import java.util.Map;

/**
 * 账务的批次处理service接口
 * @author qingyao.xing
 * @version 1.0
 * @date 2019/10/22
 */
public interface IConsolidationService {


    /**
     * 获取并账检查未通过，添加到传票流水例外表的数据
     * @return BillingBean
     * @author Qingyao Xing
     * @date 2019/10/22 14:54
     */
    BillingBean getBillingBean(Map<String, DealBillBean> subjectDetailMap,String batchTaskId) throws SegmentException;

    /**
     * 根据业务日期和流水号进行并账检查 获取添加到传票流水例外表的数据
     *  @param gaVoucherInfo
     * @return ConsolidationCheckBean
     * @author Qingyao Xing
     * @date 2019/10/22 14:54
     */
    ConsolidationCheckBean getConsolidationCheckBean(GaVoucherInfo gaVoucherInfo);

}